package com.jinjie.base.controller;

import com.jinjie.base.model.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: com.jinjie.base.controller
 * @Description:
 * @author: Administrator
 * @create: 2025-02-11 16:20
 **/
@RestController
@RequestMapping("/bad/common")
public class BadCommonController {

    @RequestMapping("/404")
    public Result bad404(){
        return Result.error(40404,"未找到相关页面，请重试！");
    }
    @RequestMapping("/403")
    public Result bad403(){
        return Result.error(40403,"未授权，请登录后重试！");
    }
}
